package com.example.demo;

import com.example.demo.config.AppConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@MapperScan({"com.example.demo.dao"})
public class SpringbootQuartzDemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringbootQuartzDemoApplication.class, args);
	}

	@Bean
	public AppConfig appConfig() {
		return new AppConfig();
	}

}

